<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>

<%@ include file="../res/inc/init.jsp" %>

<html:html>
	<head>
		<title>Graduate Admission System | University of California - San Diego | <tiles:getAsString name="title"/></title>
		<link rel="stylesheet" type="text/css" href="<html:rewrite page="/res/css/main.css"/>">
		<link rel="stylesheet" type="text/css" href="<html:rewrite page="/res/css/expand.css"/>"> 
	</head>
	<body>
		<div class="header-top"></div>
		<div class="header">
			<a href="<html:rewrite page="/index.jsp"/>">
				<img src="<html:rewrite page="/res/img/logo.png"/>">
			</a>
		</div>
		<div class="content">
			<table>
				<tr>
					<td>
						<tiles:insert attribute="nav"/>
						
						<html:link action="index">
							<img src="<html:rewrite page="/res/img/home.png"/>">
						</html:link>&nbsp;&nbsp;
					</td>
					<td>
						<span style="color: #515151;">
							You are logged in as: 
							<b><%= request.getRemoteUser() %></b>
						</span>&nbsp;
					</td>
					<td>
						<html:link action="logout">
							<img src="<html:rewrite page="/res/img/logout.png"/>">
						</html:link>
					</td>
				</tr>
			</table>
			<div id="message"></div>
			<tiles:insert attribute="content"/>
		</div>
	</body>	
</html:html>